package org.apache.james.mime4j.message.storage;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public abstract interface TempFile
{
  public abstract void delete();

  public abstract String getAbsolutePath();

  public abstract InputStream getInputStream()
    throws IOException;

  public abstract OutputStream getOutputStream()
    throws IOException;

  public abstract boolean isInMemory();

  public abstract long length();
}